package com.xq.model.struct;

import com.xq.model.dto.PostStationStateDTO;
import com.xq.model.element.SurfMinEle;
import com.xq.model.entity.TBaseStationState;
import com.xq.model.entity.TBaseSurfMin;
import org.mapstruct.Mapper;


import java.util.List;

/**
 * 拷贝对象 对象转换
 *
 * @author xu
 * 2021/8/20 11:24
 */
@Mapper(componentModel = "spring")
public interface UtilStruct {

    List<TBaseSurfMin> eleListToEntityList(List<SurfMinEle> eleList);

    TBaseSurfMin eleToEntity(SurfMinEle surfMinEle);

    List<PostStationStateDTO> entityListToDtoList(List<TBaseStationState> stationStateList);
}
